<?php

class ContentType extends Eloquent{
	protected $table = 'content_types';
	protected $primaryKey = 'id';
	public static $TYPES = array(
		'post' => 1,
		'media' => 2,
		'media' => 3,
		'reply' => 4);
	public function contents(){
		return $this->hasMany('Content','content_type_id');
	}
}